package com.cx.purchase.spare.service;

import com.cx.purchase.config.ResultVO;
import com.cx.purchase.spare.model.*;
import org.springframework.web.multipart.MultipartFile;

public interface SpareSerivce {
    ResultVO queryPage(SpareSelectVo spareSelectVo);

    ResultVO queryAllTaxType();


    ResultVO queryPlantListByLegalPersonCode(SelectByLegalPersonCode selectByLegalPersonCode);

    ResultVO queryPullList();

    ResultVO searchEnabled(SpareLiSelectVo spareLiSelectVo);

    ResultVO add(SpareAdd spareAdd);

    ResultVO updateStatus(SpareUpdateStatus spareUpdateStatus);

    ResultVO update(SpareUpdate spareUpdate);

    ResultVO importFile(MultipartFile file, SpareAdd spareAdd) throws Exception;
}
